package com.sunday.common.easy.excel.dto;

import com.sunday.common.core.gson.GsonUtils;
import com.sunday.common.core.remoting.base.auth.BaseDTO;
import lombok.Data;

import java.util.List;

@Data
public class UploadBlacklistLibraryReqDTO extends BaseDTO {

    private List<BlacklistLibraryDTO> blacklistLibraryDTOList;

    @Override
    public String toString() {
        return GsonUtils.DEFAULT.toJson(this);
    }

    @Data
    public static class BlacklistLibraryDTO {

        /**
         * 类别名称
         */
        private long name;

        @Override
        public String toString() {
            return GsonUtils.DEFAULT.toJson(this);
        }
    }
}
